package cn.itsource.basic.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 分页参数类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "BaseQuery",description = "分页参数实体类")
public class BaseQuery {

    @ApiModelProperty("每页条数")
    private Integer pageSize;  //每页条数
    @ApiModelProperty(value = "页码")
    private Integer pageNum;       //页码
}
